
clear classes

% %fname = {'s1e6b1t3','s1e6b1t2','s1e6b1t8','s1e6b5t4','s1e6b5t5'};
% fname = {'s1e1b1t1','s1e1b1t2','s1e1b1t3',...
%     's1e1b1t4','s1e1b1t5','s1e1b1t6','s1e1b1t7','s1e1b1t8'};
% %fname = {'s2e1b1t4'};
experiment = 2;
subject = 1;

for j = 1
    for i = 1:4
        fname = [ 's' num2str(subject) 'e' ...
                num2str(experiment) 'b' num2str(j) 't' num2str(i) '.asc'];
        try
            edff = ASCFILE(['../../../data_1/' fname]);
        catch
            continue
        end
        h = figure;
        analysis = eyetrackanalysis(edff);
        analysis.plotTrial();
        save2pdf(['../../../data_1/' fname '.pdf'],h);
    end
end